package com.lmqb.dao;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.LmCompanyAccount;
import com.lmqb.page.CompanyAccountPager;

public interface LmCompanyAccountMapper {
    int deleteByPrimaryKey(String tradeNo);

    int insert(LmCompanyAccount record);

    int insertSelective(LmCompanyAccount record);

    LmCompanyAccount selectByPrimaryKey(String tradeNo);

    int updateByPrimaryKeySelective(LmCompanyAccount record);

    int updateByPrimaryKey(LmCompanyAccount record);

	List<LmCompanyAccount> selectAll(CompanyAccountPager pagerModel);

	int selectCount(CompanyAccountPager pagerModel);
	
	int insertCheckSrtatusUpdatePass(@Param("withdrawNo")String withdrawNo,@Param("tradAmount")BigDecimal tradAmount,
			@Param("userId")Integer userId,@Param("userName")String userName,@Param("bankNum")String bankNum,@Param("creatTime")Integer creatTime);
}